<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Visit extends Model
{
    protected $table = 'visit';
    protected $guarded = ['id'];

    public function customer()
    {
        return $this->hasOne(Customer::class,'id','customer_id');
    }
}
